<?php

/**
 * +----------------------------------------------------------------------
 * | Copyright © Sogu Technologies Co. Ltd 2018-2050 All rights reserved.
 * +----------------------------------------------------------------------
 * | File name: SettingChannelFactory.php
 * +----------------------------------------------------------------------
 * | Author: lijiafei
 * +----------------------------------------------------------------------
 * | Description:
 * +----------------------------------------------------------------------
 * | Others: 资方列表
 * +----------------------------------------------------------------------
 * | History:
 * +----------------------------------------------------------------------
 * | 1.Date: 2019/1/2 Author: lijiafei Modification: 创建
 * +----------------------------------------------------------------------
 */

use Faker\Generator as Faker;
$factory->define(\App\Models\SettingChannel::class,function(Faker $faker){
    return [
        'channel_code' => $faker->uuid,
        'channel_name' => $faker->streetName,
        'period_range' => json_encode([1,3,6]),
    ];
});